﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace GEA
{
    public partial class frmrptProcessoMovimentos : Form
    {
        //DU Du = new DU();
        string id_E;
        string id_P;


        public frmrptProcessoMovimentos()
        {
            InitializeComponent();
        }

        public frmrptProcessoMovimentos(string id_e, string id_p)
        {
            InitializeComponent();
            id_E = id_e;
            id_P = id_p;
            this.Padding = new System.Windows.Forms.Padding(5, 20, 5, 50);
        }

        private void frmrptProcessoMovimentos_Load(object sender, EventArgs e)
        {

            this.GetProcessoMovimentosTableAdapter.Fill(this.geaDataSet.GetProcessoMovimentos, id_E, id_P);

            reportViewer1.LocalReport.DisplayName = "Proc_" + id_P.Replace("/","-").ToString();
            this.reportViewer1.RefreshReport();
        }
    }
}
